package com.xiahui.day11.Test5;

/**
 * 实现类
 */
public class TestPet {
    public static void main(String[] args) {
        Dog dog=new Dog();
        dog.print();

        Penguin penguin=new Penguin();
        penguin.print();
    }
}
